#ifndef QRESOURCETREEVIEW_H
#define QRESOURCETREEVIEW_H

#include <QTreeWidget>


class QResourceListView;
class AbstractCore;

class QResourceTreeView : public QTreeWidget
{
    Q_OBJECT
public:
    explicit QResourceTreeView(AbstractCore *core,QWidget *parent = 0);
    
    void    addFile(QString str);
    void    removeFile(QString str);
    void    select(QString str);
    QString getSelect();

    void    clear();
protected:
    void resizeEvent(QResizeEvent *event);
signals:
    void selectChange();
public slots:
    
protected:
    QResourceListView       *m_listView;
    AbstractCore            *m_core;
};

#endif // QRESOURCETREEVIEW_H
